package com.auxgroup.smarthome.qcloud.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云操作签名
 * Created by niuGuangzhe on 2017/8/2.
 */
@Component
@ConfigurationProperties(prefix="alicloud.data")
public class AlicloudConf {

    private String endpoint; //和区域相关
    private String accessKeyId; // 秘钥Id
    private String accessKeySecret; // 秘钥keysecret
    private String bucketName; // bucket名称
    private String returnUrlPrefix;//返回参数时的自定义url前缀

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getReturnUrlPrefix() {
        return returnUrlPrefix;
    }

    public void setReturnUrlPrefix(String returnUrlPrefix) {
        this.returnUrlPrefix = returnUrlPrefix;
    }
}
